class BaseReportApi extends BaseApi {
    constructor({url} = {}) {
        super(url)
        /**
         * 报表查询
         * @param entity 参数
         * @returns {Promise<*>} 结果
         */
        this.report = rx.onceOfSameParam(async entity => (await rxajax.get(super.using('/report'), entity, {
            type: 'json',
        })).data.data, 'BaseReportApi.report')
    }
}